package stage1.module3.homework2;

import java.util.List;

public class Test {

    public static void main(String[] args) {
        String s1 = "asdafghjka";
        String s2 = "aaasdfg";
        Homework2  h = new Homework2();
        //较短的字符串放在第二个位置
        List<String> sl1 = h.search(s1, s2);
        System.out.println(sl1);
        System.out.println("---------------------------------");

        String s3 = "acdab";
        String s4 = "abdsfac";
        List<String> sl2 = h.search(s4, s3);
        System.out.println(sl2);
        System.out.println("---------------------------------");
    }
}
